// index.tsx
import * as React from 'react';
import * as ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import 'normalize.css';
import App from './App';
import '@/utils/setRem';

const root = ReactDOM.createRoot(document.getElementById('root')!);
// v18 的新方法
root.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>,
);
